package com.hackordie.operations;

import com.hackordie.commons.HackOrDieResult;
import com.hackordie.daos.UserComponentsDao;
import com.hackordie.exceptions.HackOrDieException;

public abstract class AHackOrDieOperationUserComponents extends AHackOrDieOperation {

	protected UserComponentsDao userComponentDao;

	public AHackOrDieOperationUserComponents() {
		super();		
		userComponentDao = factory.getBean("userComponentsDao", UserComponentsDao.class);
	}

	protected abstract boolean checkParameters();

	protected abstract HackOrDieResult executeOperation() throws HackOrDieException;
}
